Skip to content

feat(export): add nifti, csv, and parquet export modules#183

Merged
gerchowl merged 1 commit intodevfrom
feature/0-export-module
Mar 30, 2026
Merged

feat(export): add nifti, csv, and parquet export modules#183
gerchowl merged 1 commit intodevfrom
feature/0-export-module

Conversation

@gerchowl
Copy link
Copy Markdown
Contributor

Summary

  • New src/fd5/export/ module with nifti, csv, parquet exporters
  • CLI: fd5 export nifti, fd5 export csv, fd5 export parquet
  • Shared extract_columns() helper for csv/parquet deduplication
  • Tests for all 3 formats

Test plan

  • uv run pytest tests/test_export_nifti.py tests/test_export_csv.py tests/test_export_parquet.py -x

🤖 Generated with Claude Code

Round-trip export from fd5 back to standard formats:
- fd5 export nifti: recon/ndarray → .nii.gz (via nibabel)
- fd5 export csv: tabular/spectrum/timeseries → .csv
- fd5 export parquet: tabular/timeseries → .parquet (via pyarrow)
- Shared extract_columns() helper to avoid duplication
- Lazy imports for optional deps with helpful error messages

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gerchowl gerchowl merged commit 11d6938 into dev Mar 30, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant